package com.shouke.jmeter.plugin.model;

import org.apache.jmeter.testelement.AbstractTestElement;

public class FieldExpressionMapping extends AbstractTestElement {

    private static final long serialVersionUID = 5456773306165856817L;

    public static final String MSG_HEAD = "msgHeader";
    public static final String MSG_HEAD_VALUE = "msgHeaderValue";
    public static final String MSG_PROPERTY = "msgProperty";
    public static final String MSG_PROPERTY_VALUE = "msgPropertyValue";

    public String getMsgHeader() {
        return getProperty(MSG_HEAD).getStringValue();
    }

    public void setMsgHeader(String fieldName) {
        setProperty(MSG_HEAD, fieldName);
    }

    public String getMsgHeaderValue() {
        return getProperty(MSG_HEAD_VALUE).getStringValue();
    }

    public void setMsgHeaderValue(String headValue) {
        setProperty(MSG_HEAD_VALUE, headValue);
    }

    public String getMsgProperty() {
        return getProperty(MSG_PROPERTY).getStringValue();
    }

    public void setMsgProperty(String fieldName) {
        setProperty(MSG_PROPERTY, fieldName);
    }

    public String getMsgPropertyValue() {
        return getProperty(MSG_PROPERTY_VALUE).getStringValue();
    }

    public void setMsgPropertyValue(String propertyValue) {
        setProperty(MSG_PROPERTY_VALUE, propertyValue);
    }


}